import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入css主样式文件
import '@/style/index.scss'

// 完整引入elementUi
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// 引入导航守卫
import '@/interceptor'

// 注册组件
import myComs from './components/myComs'
Vue.use(myComs)


Vue.use(ElementUI) // element挂在到vue的实例


Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')